package com.sky.dto;


import com.alibaba.fastjson.annotation.JSONField;
import com.sky.common.EnumDeserializer;
import com.sky.common.EnumSerializer;
import com.sky.entity.SetmealDishEntity;
import com.sky.enumeration.SetmealStatusEnum;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class SetmealDTO {
    private Long id;
    private Long categoryId;
    private String name;
    private String description;
    private String image;
    private Long price;
    @JSONField(serializeUsing = EnumSerializer.class, deserializeUsing = EnumDeserializer.class)
    private SetmealStatusEnum status;
    private List<SetmealDishEntity> setmealDishes;
}
